package cn.smile.bean.entity.basic;

import cn.smile.commons.domain.BaseDomain;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 数据字典
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("dic_info")
public class DicInfo extends BaseDomain {
    @Serial
    private static final long serialVersionUID = 3414749782571700812L;

    /**
    * 父级ID
    */
    private String parentId;

    /**
    * 字典名称
    */
    private String dicName;

    /**
    * 字典值
    */
    private Integer dicValue;

    /**
    * 字典顺序
    */
    private Integer dicSort;

    /**
    * 是否显示
    */
    private Boolean isShow;

    /**
    * 预定义(true-是, false-否)
    */
    private Boolean predefined;
}